namespace System.Net.DnsToolkit.Packet
{
    public enum RCodeEnum {
        /// <summary>
        /// No error condition
        /// </summary>
        NoError = 0,

        /// <summary>
        /// Format error - The name server was
        /// unable to interpret the query.
        /// </summary>
        FormatError,

        /// <summary>
        /// Server failure - The name server was
        /// unable to process this query due to a
        /// problem with the name server.
        /// </summary>
        ServerFailure,

        /// <summary>
        /// Name Error - Meaningful only for
        /// responses from an authoritative name
        /// server, this code signifies that the
        /// domain name referenced in the query does
        /// not exist.
        /// </summary>
        NameError,

        /// <summary>
        /// Not Implemented - The name server does
        /// not support the requested kind of query.
        /// </summary>

        NotImplemented,
        /// <summary>
        /// Refused - The name server refuses to
        /// perform the specified operation for
        /// policy reasons.  For example, a name
        /// server may not wish to provide the
        /// information to the particular requester,
        /// or a name server may not wish to perform
        /// a particular operation (e.g., zone
        /// transfer) for particular data.
        /// </summary>

        Refused,
        /// <summary>
        /// Reserved for future use.
        Reserved6,
        Reserved7,
        Reserved8,
        Reserved9,
        Reserved10,
        Reserved11,
        Reserved12,
        Reserved13,
        Reserved14,
        Reserved15
    }
}